package masterclient;

import javax.swing.JFrame;

/**
 * Hier begint de Masterclient te draaien en worden de nodige objecten aangemaakt
 * @author Erik Uitenbroek, Michael Stevens
 * @since 28-05-2012
 */
public class Masterclient {
    private GUI g;
    private AccountManagement am;
    private Authentication auth;
    private QueryManagement qm;
    
    public Masterclient(){
        g = new GUI(this);
        g.setVisible(true);        
        
        am = new AccountManagement(this);
        auth = new Authentication(this);
        qm = new QueryManagement(this);
    }
    
    public static void main(String[] args) {
        Masterclient mc = new Masterclient();
    }

    /**
     * @return the GUI
     */
    public GUI getGUI() {
        return g;
    }

    /**
     * @return the AccountManagement
     */
    public AccountManagement getAccountManagement() {
        return am;
    }

    /**
     * @return the auth
     */
    public Authentication getAuth() {
        return auth;
    }

    /**
     * @return the qm
     */
    public QueryManagement getQm() {
        return qm;
    }
}
